package com.n9.qq.android.RegisterProxySvcPack;

import com.qq.taf.jce.*;

/**
 * @author ice
 * @since 2019/3/4 9:48
 */
public final class PullGroupSeqParam extends JceStruct implements Cloneable {
    public long lGroupCode = 0L;
    public long lLastSeqId = 0L;

    public PullGroupSeqParam() {
    }

    public PullGroupSeqParam(long var1, long var3) {
        this.lGroupCode = var1;
        this.lLastSeqId = var3;
    }

    public String className() {
        return "MessageSvcPack.PullGroupSeqParam";
    }

    @Override
    public void display(StringBuilder var1, int var2) {
        JceDisplayer var3 = new JceDisplayer(var1, var2);
        var3.display(this.lGroupCode, "lGroupCode");
        var3.display(this.lLastSeqId, "lLastSeqId");
    }

    @Override
    public void displaySimple(StringBuilder var1, int var2) {
        JceDisplayer var3 = new JceDisplayer(var1, var2);
        var3.displaySimple(this.lGroupCode, true);
        var3.displaySimple(this.lLastSeqId, false);
    }

    @Override
    public boolean equals(Object var1) {
        boolean var3 = false;
        boolean var2;
        if (var1 == null) {
            var2 = var3;
        } else {
            PullGroupSeqParam var4 = (PullGroupSeqParam)var1;
            var2 = var3;
            if (JceUtil.equals(this.lGroupCode, var4.lGroupCode)) {
                var2 = var3;
                if (JceUtil.equals(this.lLastSeqId, var4.lLastSeqId)) {
                    var2 = true;
                }
            }
        }

        return var2;
    }

    public String fullClassName() {
        return "MessageSvcPack.PullGroupSeqParam";
    }

    public long getLGroupCode() {
        return this.lGroupCode;
    }

    public long getLLastSeqId() {
        return this.lLastSeqId;
    }

    @Override
    public int hashCode() {
        try {
            Exception var1 = new Exception("Need define key first!");
            throw var1;
        } catch (Exception var2) {
            var2.printStackTrace();
            return 0;
        }
    }

    @Override
    public void readFrom(JceInputStream var1) {
        this.lGroupCode = var1.read(this.lGroupCode, 0, true);
        this.lLastSeqId = var1.read(this.lLastSeqId, 1, true);
    }

    public void setLGroupCode(long var1) {
        this.lGroupCode = var1;
    }

    public void setLLastSeqId(long var1) {
        this.lLastSeqId = var1;
    }

    @Override
    public void writeTo(JceOutputStream var1) {
        var1.write(this.lGroupCode, 0);
        var1.write(this.lLastSeqId, 1);
    }
}